#include <iostream>
using std::cout;
using std::endl;

void test0(){
    int a = 1, b = 2;
    &a;  
    &b;
    &(a + b);
    &10;
    &String("hello");

    //非const引用尝试绑定
    int & r1 = a;
    int & r2 = 1;

    //const引用尝试绑定
    const int & r3 = 1;
    const int & r4 = a;

    String s1("hello");
    String s2("wangdao");
    &s1;
    &s2;
    &(s1 + s2);
}

int main(int argc, char * argv[])
{
    test0();
    return 0;
}


